from django.conf.urls.defaults import *

# Uncomment this for admin:
from django.contrib import admin

# Uncomment to load INSTALLED_APPS admin.py module for default AdminSite instance.
admin.autodiscover()

urlpatterns = patterns('',
    # Example:
    # (r'^linkdump/', include('linkdump.foo.urls')),
    (r'^todos/$', 'mysite.todos.views.list'),
    (r'^todos/new/$', 'mysite.todos.views.new'),
    (r'^todos/add/(?P<id>\d+)$', 'mysite.todos.views.add'),
    # Uncomment this for admin docs:
    (r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment this for admin:
    (r'^admin/(.*)', admin.site.root),
)
